/* 设置弹窗样式 */
.settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.settings-modal.show {
    opacity: 1;
    visibility: visible;
}

.settings-dialog {
    background: white;
    border-radius: 12px;
    width: 800px;
    height: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.settings-modal.show .settings-dialog {
    transform: scale(1) translateY(0);
}

.settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.settings-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.settings-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.settings-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.settings-content {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.settings-sidebar {
    width: 200px;
    background: #f9fafb;
    border-right: 1px solid #e5e7eb;
    padding: 16px 0;
}

.settings-nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s;
    gap: 12px;
    font-size: 14px;
    color: #6b7280;
}

.settings-nav-item:hover {
    background: #f3f4f6;
}

.settings-nav-item.active {
    background: #e0f2fe;
    color: #0369a1;
    border-right: 3px solid #0369a1;
}

.settings-nav-item i {
    width: 16px;
    text-align: center;
}

.settings-main {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.settings-tab-content {
    display: none;
}

.settings-tab-content.active {
    display: block;
}

.settings-tab-content h4 {
    margin: 0 0 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.settings-group {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.setting-label {
    font-size: 14px;
    color: #374151;
}

.setting-value {
    font-size: 14px;
    color: #6b7280;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
  }
  
  .feature-item i {
    color: #ff4757;
    font-size: 18px;
    margin-top: 2px;
  }
  
  .feature-content strong {
    display: block;
    margin-bottom: 4px;
    color: #1f2937;
  }
  
  .feature-content p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
  }
  
  .about-ynaa p {
    margin: 8px 0;
    font-size: 14px;
    color: #374151;
  }
  
  .ynaa-links {
    display: flex;
    gap: 12px;
    margin-top: 12px;
  }
  
  .ynaa-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #ff4757;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: background 0.2s ease;
  }
  
  .ynaa-link:hover {
    background: #ff3742;
  }
  
  .app-motto {
    text-align: center;
    font-style: italic;
    color: #6b7280;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
  }
  
  .app-motto i {
    color: #ff4757;
    margin: 0 8px;
  }

  .test-ringtone-btn {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.test-ringtone-btn:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

.test-ringtone-btn:active {
    background: #d1d5db;
}